package com.kb.mapper.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kb.entity.ComponentData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface ComponentDao extends BaseMapper<ComponentData> {

    @Update("UPDATE component_data SET deleted = 1 WHERE original_id = #{originalId}")
    public void delByOriginalId(Long originalId);
}